﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Web.Mvc;
using EventPlanner.Validation;


namespace EventPlanner.Models
{
    public class Contacto : EntityBase
    {        
        [Required]
        public string Nombre { get; set; }
        [Required]
        [Email]
        [Display(ResourceType = typeof(@EventPlanner.Resources.Global.Global), Name = "lbl_Correo")]
        public string Correo { get; set; }
        public string Creador { get; set; }
    }

    public class Invitacion :EntityBase
    {        
        public string Nombre { get; set; }
        public int EventoId { get; set; }
    }

}